#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<cstdio>

using namespace std;

int main()
{
	double A, B, C;
	cin >> A >> B >> C;
	if (A + B > C && A + C > B && B + C > A) printf("Perimetro = %.1lf", A + B + C);
	else printf("Area = %.1lf", (A + B) * C / 2);
	return 0;
}